<template>
  <div class="music-home">
    <MusicHeader />
    
    <div class="main-content">
      <div class="content-wrapper">
        <!-- 左侧主要内容区域 -->
        <div class="main-section">
          <Banner />
          <HotRecommendations />
        </div>
        
        <!-- 右侧边栏 -->
        <Sidebar />
      </div>
    </div>
  </div>
</template>

<script>
import MusicHeader from '@/components/MusicHeader.vue'
import Banner from '@/components/Banner.vue'
import HotRecommendations from '@/components/HotRecommendations.vue'
import Sidebar from '@/components/Sidebar.vue'

export default {
  name: 'MusicHomeView',
  components: {
    MusicHeader,
    Banner,
    HotRecommendations,
    Sidebar
  }
}
</script>

<style scoped>
.music-home {
  min-height: 100vh;
  background: #f5f5f5;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.main-section {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .main-section {
    order: 1;
  }
  
  .sidebar {
    order: 2;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 0 10px;
  }
  
  .content-wrapper {
    gap: 15px;
  }
}
</style>
